package com.xuerhua.yxt.service;

import java.util.List;

import com.xuerhua.yxt.model.SubjectInfo;

public interface ISubjectInfoService {

	int insertSelective(SubjectInfo record);

    SubjectInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SubjectInfo record);
    
    List<SubjectInfo> selectList(Integer schoolId);
    
    int delByPrimaryKey(List<String> ids);

    /**
     *  @author:hhk
     *  查询该学校下学科目录的最大weight值
     */
    int selectWeightBySchoolId(Integer schoolId);
}
